package com.foundersoftware.commons.organization.model;


/**

 * This object represents a country on planet Earth.  Its attributes are the
 * <a href="http://www.din.de/gremien/nas/nabd/iso3166ma/codlstp1/en_listp1.html">
 * ISO country code</a> and the name of the country.
 *
 * @author wuhongjun
 *
 */
public class Country extends AbstractOrganizationObject {

	/**
	 *serialVersionUID 
	 */
	private static final long serialVersionUID = 679950761950072898L;
	
	private CountryType type = null;

    private String alpha2;
    private String alpha3;
    private Long codeNum;
	public String getAlpha2() {
		return alpha2;
	}
	
     /**
     * set the ISO 3166 two-letter country code for this Country.
	 * @param alpha2
	 */
	public void setAlpha2(String alpha2) {
		this.alpha2 = alpha2;
	}
	
	/**
	 * get the ISO 3166 three-letter country code for this Country.
	 * @return
	 */
	public String getAlpha3() {
		return alpha3;
	}
	
	/**
	 * set the ISO 3166 three-letter country code for this Country.
	 * @param alpha3
	 */
	public void setAlpha3(String alpha3) {
		this.alpha3 = alpha3;
	}
	
	/**
	 * get the ISO 3166 numeric country code for this Country.
	 * @return
	 */
	public Long getCodeNum() {
		return codeNum;
	}
	
	/**
	 * set the ISO 3166 numeric country code for this Country.
	 * @param codeNum
	 */
	public void setCodeNum(Long codeNum) {
		this.codeNum = codeNum;
	}
	public CountryType getType() {
		return type;
	}
	public void setType(CountryType type) {
		this.type = type;
	}

}
